package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormSteps;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 流程表单-流程步骤 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-19
 */
public interface WFlowFormStepsService extends IService<WFlowFormSteps> {

	List<WFlowFormSteps> getWFlowFormStepsByCnd(Map<String,Object> mapParams);
	
	void updateWFlowFormStepsByMap(Map<String,Object> mapParams);

    /***
     * 根据formi和任务id，获取WFlowFormSteps对象
     */
	public WFlowFormSteps getWFlowFormStepsByFormAndTaskId(String flowFormId,String taskId);

	Map<Integer,Integer> getNodeStatusByFormId(String formId);
}
